<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Programming NVRAM</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch05.html" title="Chapter 5.  Procedures"><link rel="prev" href="ch05s11.html" title="Testing a Device"><link rel="next" href="ch05s13.html" title="Pairing UART Devices post PTS"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
			Programming NVRAM  
			</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s11.html">Prev</a> </td><th width="60%" align="center">Chapter 5. 
		Procedures 
		</th><td width="20%" align="right"> <a accesskey="n" href="ch05s13.html">Next</a></td></tr></table><hr></div><div class="section" title="Programming NVRAM"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="procedure-inialize-nvram"></a>
			Programming NVRAM  
			</h2></div></div></div><div class="note" title="int6kf and int6kboot" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">
				int6kf and int6kboot
				</h3><p>
				The <span class="productname">INT6300</span>™ and <span class="productname">INT6400</span>™ do not require a special <acronym class="acronym">SDRAM</acronym> configuration file and so program <a class="ulink" href="int6kboot.7.html" target="_top">int6kboot</a> may be used in place of <a class="ulink" href="int6kf.7.html" target="_top">int6kf</a> which is described here. The only real difference between the two programs is the presence or absence of option <span class="command"><strong>-C</strong></span> on the command line.
				</p></div><p>
			The <a class="ulink" href="int6kf.7.html" target="_top">int6kf</a> program can program a blank or corrupted <acronym class="acronym">NVRAM</acronym> on the INT6300. The process involves starting the runtime firmware as shown in the previous example then downloading a .nvm file using a <code class="constant">VS_WR_MOD</code> message, downloading a .pib file using another WR_WR_MOD message then writing both to <acronym class="acronym">NVRAM</acronym> using a <code class="constant">VS_MOD_NVM</code> message. An example <a class="ulink" href="int6kf.7.html" target="_top">int6kf</a> command line is shown below. It is identical to the one shown above except for the addition of the flash option at the end. 
			</p><div class="example"><a name="idp22377112"></a><p class="title"><b>Example 5.22. 
				Flash NVRAM with int6kf
				</b></p><div class="example-contents"><pre class="screen">
# int6kf -C abc.cfg -N abc.nvm -P abc.pib -F
</pre></div></div><br class="example-break"><p>
			The example above starts the firmware then uses it to program the <acronym class="acronym">NVRAM</acronym>. This was done in one step rather than two seperate steps as shown in the examples before it. The only difference is that <span class="command"><strong>int6k</strong></span> needs to use the 'force flash' option when using downloaded firmware to write <acronym class="acronym">NVRAM</acronym>. The following example accomplishes the same thing as the previous example but uses <span class="command"><strong>int6k</strong></span> to program <acronym class="acronym">NVRAM</acronym>. See the <a class="ulink" href="int6k.7.html" target="_top">int6k</a> man page for an explanation of the command line options and arguments used here.
			</p><p>
			The <a class="ulink" href="int6kf.7.html" target="_top">int6kf</a> program cannot program blank or corrupted <acronym class="acronym">NVRAM</acronym> on the INT6000 unless the <span class="application">Softloader</span> is running. Since the <span class="application">Softloader</span> resides in <acronym class="acronym">NVRAM</acronym>, the NVRAM must be either pre-programmed before use or removed and externally re-programmed if it corrupts.
			</p><div class="example"><a name="idp22382232"></a><p class="title"><b>Example 5.23. 
				Flash NVRAM with int6k
				</b></p><div class="example-contents"><pre class="screen">
# int6kf -C abc.cfg -N abc.nvm -P abc.pib 
# int6k -N abc.nvm -P abc.pib -FF 
</pre></div></div><br class="example-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s11.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch05s13.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
			Testing a Device
			 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
			Pairing UART Devices post PTS
			</td></tr></table></div></body></html>
